﻿using MediatR;
using PublicCommon;
using T_Person.Domain;
using T_Person.Read.APi.Dto;

namespace T_Person.Read.APi.Applaction.Command
{
    public class EmployeeSearchCommand:IRequest<PageResult<EmployeeDto>>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string? ename { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>
        public string? did { get; set; }
        /// <summary>
        /// 职位id
        /// </summary>
        public string? rid { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string? phone { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string? style { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int pageindex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int pagesize { get; set; }

    }
}
